package com.lottery.material.enumeration.report;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：举报记录枚举类
 * Created by 朱正磊 on 2019-04-15 16:57
 */
@Getter
public enum ReportRecordEnum implements BaseEnum {

    // 举报范围（1：用户；2：文章；3：评论）
    REPORT_SCOPE_USER("REPORT_SCOPE", 1, "用户"),
    REPORT_SCOPE_ARTICLE("REPORT_SCOPE", 2, "文章"),
    REPORT_SCOPE_COMMENT("REPORT_SCOPE", 3, "评论"),

    // 处理结果（1：待审核；2：驳回；3：审核通过）
    RESULT_CODE_WAITING_FOR_REVIEW("RESULT_CODE", 1, "待审核"),
    RESULT_CODE_REJECT("RESULT_CODE", 2, "驳回"),
    RESULT_CODE_APPROVED("RESULT_CODE", 3, "审核通过"),
    ;

    private String code;
    private Object value;
    private String description;

    ReportRecordEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String REPORT_SCOPE = "REPORT_SCOPE";
    public static final String RESULT_CODE = "RESULT_CODE";

}
